package  com.songyl.patternLearn.AbstractFactoryPattern;

public  class Player2 implements AbstractPlayer {


    @Override
    public Shape createShape() {
        System.out.printf("player2");
        return new Circle();
    }

    @Override
    public Color createColor() {
        System.out.printf("player2");
        return new Red();
    }
}
